package com.itheima.reggie.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import java.io.Serializable;

@Data
public class DishFlavor extends CommonEntity implements Serializable {
    private static final long serialVersionUID = 1L;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    //菜品id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long dishId;

    //口味名称
    private String name;

    //口味数据list
    private String value;

    //是否删除
    private Integer isDeleted;
}
